#pragma once

// struct ThreadPool;
// typedef struct ThreadPool ThreadPool;

// ThreadPool *ThreadPool_Create(int minNum,int maxNum,int capacity);
// void *FetchTask(void *args);
// void *AdjustThreadNum(void *args);

// extern struct ThreadPool;
struct ThreadPool;

typedef struct ThreadPool ThreadPool;

extern ThreadPool *ThreadPool_Create(int minNum,int maxNum,int capacity);
extern void *FetchTask(void *args);
extern void *AdjustThreadNum(void *args);
extern void Thread_Exit(ThreadPool *threadPoolPtr);

static const int g_add_thread_num=3;
static const int g_sub_thread_num=2;